package training.hari.oops.polymorphism;

public class Parent {
	
	public void sayHello(){
		System.out.println("Hello");
	}
	
	public void sayHello(String name){
		System.out.println("Hello " +name);
	}
	
	public void sayHello(int name){
		System.out.println("Hello " +name);
	}
	
	public void sayHello(String firstName, String lastName){
		System.out.println("Hello " +firstName + " " + lastName);
	}

}
